import http from '@/plugins/axios'

export function getScriptManagePage(data) {
  return http({
    method: 'POST',
    url: '/ykf/accountInputRecord/page',
    data
  })
}

export function updateAccountInputRecord(data) {
  return http({
    method: 'POST',
    url: '/ykf/accountInputRecord/update',
    data: {
      ...data,
      qARatio: +data.qaratio,
      qaratio: +data.qaratio
    }
  })
}

export function accountInputRecord(data) {
  return http({
    method: 'POST',
    url: '/ykf/accountInputRecord/editRecord',
    data
  })
}
